package day0905;

public class Chick extends Animal {
    Chick(){
    }
    Chick(String name,int age,String color){
        super(name,age,color);
    }
    void eat(){
        System.out.println("姓名为"+name+",年龄为"+age+",颜色为"+color+"的小鸡正在吃米");
    }
    void layEggs(){
        System.out.println("姓名为"+name+",年龄为"+age+",颜色为"+color+"的小鸡正在下蛋");
    }
}
